<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: DoubleLinkedList&lt; DT &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classDoubleLinkedList-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">DoubleLinkedList&lt; DT &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>define a class of a double linked class The class includes a structure named Node, two nested class named <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> and iterator for visitation of objects,two Node* pointers named head and tail and Big Five functions. <br  />
  
 <a href="classDoubleLinkedList.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="DoubleLinkedList_8h_source.html">DoubleLinkedList.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A brief discprition of <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> The <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> is unable to change member variables, but can visit objects of constant type.  <a href="classDoubleLinkedList_1_1const__iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">the public type inheritance of <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> It could only visit auto objects and all the member functions below are akin to its parent class, so they won't be introduced in detail  <a href="classDoubleLinkedList_1_1iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aee88179cbec704a72abc4ffedaaae206"><td class="memItemLeft" align="right" valign="top"><a id="aee88179cbec704a72abc4ffedaaae206"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#aee88179cbec704a72abc4ffedaaae206">DoubleLinkedList</a> ()</td></tr>
<tr class="memdesc:aee88179cbec704a72abc4ffedaaae206"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Double Linked List object. <br /></td></tr>
<tr class="separator:aee88179cbec704a72abc4ffedaaae206"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a941489c5c72cb46a00e24ff1c998b087"><td class="memItemLeft" align="right" valign="top"><a id="a941489c5c72cb46a00e24ff1c998b087"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a941489c5c72cb46a00e24ff1c998b087">~DoubleLinkedList</a> ()</td></tr>
<tr class="memdesc:a941489c5c72cb46a00e24ff1c998b087"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the Double Linked List object. <br /></td></tr>
<tr class="separator:a941489c5c72cb46a00e24ff1c998b087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f6fd6fab778f30041aa6119b67d70db"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a9f6fd6fab778f30041aa6119b67d70db">DoubleLinkedList</a> (const <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a> &amp;rhs)</td></tr>
<tr class="memdesc:a9f6fd6fab778f30041aa6119b67d70db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Double Linked List object Copy constructor. Local variable x was used for traversing the container.  <a href="classDoubleLinkedList.html#a9f6fd6fab778f30041aa6119b67d70db">More...</a><br /></td></tr>
<tr class="separator:a9f6fd6fab778f30041aa6119b67d70db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a857b3efd79c7794a99b82bbe65d4f2a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a857b3efd79c7794a99b82bbe65d4f2a9">operator=</a> (const <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a> &amp;rhs)</td></tr>
<tr class="memdesc:a857b3efd79c7794a99b82bbe65d4f2a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">assignment operation It is called when an lvalue is transmitted  <a href="classDoubleLinkedList.html#a857b3efd79c7794a99b82bbe65d4f2a9">More...</a><br /></td></tr>
<tr class="separator:a857b3efd79c7794a99b82bbe65d4f2a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a2a7c993e056a3d7e15bd1bf3d38bf2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a1a2a7c993e056a3d7e15bd1bf3d38bf2">DoubleLinkedList</a> (<a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a> &amp;&amp;rhs)</td></tr>
<tr class="memdesc:a1a2a7c993e056a3d7e15bd1bf3d38bf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Double Linked List object It's a move constructor, avoiding the copying process.  <a href="classDoubleLinkedList.html#a1a2a7c993e056a3d7e15bd1bf3d38bf2">More...</a><br /></td></tr>
<tr class="separator:a1a2a7c993e056a3d7e15bd1bf3d38bf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a134e16aa90f251ec1fe732b8b83a758d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a134e16aa90f251ec1fe732b8b83a758d">operator=</a> (<a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a> &amp;&amp;rhs)</td></tr>
<tr class="memdesc:a134e16aa90f251ec1fe732b8b83a758d"><td class="mdescLeft">&#160;</td><td class="mdescRight">It's a move assignment It was used to avoid the process of copy.  <a href="classDoubleLinkedList.html#a134e16aa90f251ec1fe732b8b83a758d">More...</a><br /></td></tr>
<tr class="separator:a134e16aa90f251ec1fe732b8b83a758d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76384816354f94d8d42e0829c7bda914"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a76384816354f94d8d42e0829c7bda914">begin</a> ()</td></tr>
<tr class="memdesc:a76384816354f94d8d42e0829c7bda914"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the first node  <a href="classDoubleLinkedList.html#a76384816354f94d8d42e0829c7bda914">More...</a><br /></td></tr>
<tr class="separator:a76384816354f94d8d42e0829c7bda914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb15c59c5b15dbdecae44e186e7c9b2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#abb15c59c5b15dbdecae44e186e7c9b2d">begin</a> () const</td></tr>
<tr class="memdesc:abb15c59c5b15dbdecae44e186e7c9b2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the first node, called by a constant object  <a href="classDoubleLinkedList.html#abb15c59c5b15dbdecae44e186e7c9b2d">More...</a><br /></td></tr>
<tr class="separator:abb15c59c5b15dbdecae44e186e7c9b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa52f0a0dea8b178abf3972cb5c7ba44b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#aa52f0a0dea8b178abf3972cb5c7ba44b">end</a> ()</td></tr>
<tr class="memdesc:aa52f0a0dea8b178abf3972cb5c7ba44b"><td class="mdescLeft">&#160;</td><td class="mdescRight">return tail  <a href="classDoubleLinkedList.html#aa52f0a0dea8b178abf3972cb5c7ba44b">More...</a><br /></td></tr>
<tr class="separator:aa52f0a0dea8b178abf3972cb5c7ba44b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a683ec24475d58d896c47b00d9893fb6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a683ec24475d58d896c47b00d9893fb6d">end</a> () const</td></tr>
<tr class="memdesc:a683ec24475d58d896c47b00d9893fb6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">return tail, able to visit constant object  <a href="classDoubleLinkedList.html#a683ec24475d58d896c47b00d9893fb6d">More...</a><br /></td></tr>
<tr class="separator:a683ec24475d58d896c47b00d9893fb6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a896b91eefaa6a0288e31a846382d1d39"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a896b91eefaa6a0288e31a846382d1d39">size</a> () const</td></tr>
<tr class="memdesc:a896b91eefaa6a0288e31a846382d1d39"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the number of Node structures  <a href="classDoubleLinkedList.html#a896b91eefaa6a0288e31a846382d1d39">More...</a><br /></td></tr>
<tr class="separator:a896b91eefaa6a0288e31a846382d1d39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ebe0a7e9218900f723620eb5359df6c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a8ebe0a7e9218900f723620eb5359df6c">empty</a> () const</td></tr>
<tr class="memdesc:a8ebe0a7e9218900f723620eb5359df6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">judje if the class dosen't have any node  <a href="classDoubleLinkedList.html#a8ebe0a7e9218900f723620eb5359df6c">More...</a><br /></td></tr>
<tr class="separator:a8ebe0a7e9218900f723620eb5359df6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae137341cb837578aceed300d50ebe664"><td class="memItemLeft" align="right" valign="top"><a id="ae137341cb837578aceed300d50ebe664"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#ae137341cb837578aceed300d50ebe664">clear</a> ()</td></tr>
<tr class="memdesc:ae137341cb837578aceed300d50ebe664"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete all nodes <br /></td></tr>
<tr class="separator:ae137341cb837578aceed300d50ebe664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a321d39c83c64c5a56491cfb6312c3112"><td class="memItemLeft" align="right" valign="top">DT &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a321d39c83c64c5a56491cfb6312c3112">front</a> ()</td></tr>
<tr class="memdesc:a321d39c83c64c5a56491cfb6312c3112"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the data of the first node '*' was overloaded.  <a href="classDoubleLinkedList.html#a321d39c83c64c5a56491cfb6312c3112">More...</a><br /></td></tr>
<tr class="separator:a321d39c83c64c5a56491cfb6312c3112"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a783cd5151e28aa5396fa7ea79f64835b"><td class="memItemLeft" align="right" valign="top">const DT &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a783cd5151e28aa5396fa7ea79f64835b">front</a> () const</td></tr>
<tr class="memdesc:a783cd5151e28aa5396fa7ea79f64835b"><td class="mdescLeft">&#160;</td><td class="mdescRight">const type  <a href="classDoubleLinkedList.html#a783cd5151e28aa5396fa7ea79f64835b">More...</a><br /></td></tr>
<tr class="separator:a783cd5151e28aa5396fa7ea79f64835b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4df7660c6cb44e3176de9e748a8f755"><td class="memItemLeft" align="right" valign="top">const DT &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#ae4df7660c6cb44e3176de9e748a8f755">back</a> () const</td></tr>
<tr class="memdesc:ae4df7660c6cb44e3176de9e748a8f755"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the data of the last node  <a href="classDoubleLinkedList.html#ae4df7660c6cb44e3176de9e748a8f755">More...</a><br /></td></tr>
<tr class="separator:ae4df7660c6cb44e3176de9e748a8f755"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc9f1f67bf23ed7ffc31361eaa14d0f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#abc9f1f67bf23ed7ffc31361eaa14d0f6">push_front</a> (const DT &amp;x)</td></tr>
<tr class="memdesc:abc9f1f67bf23ed7ffc31361eaa14d0f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert the element as first node Called when lvalue was transmitted.  <a href="classDoubleLinkedList.html#abc9f1f67bf23ed7ffc31361eaa14d0f6">More...</a><br /></td></tr>
<tr class="separator:abc9f1f67bf23ed7ffc31361eaa14d0f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d82e154514bdc6379c83df36c86a63b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a9d82e154514bdc6379c83df36c86a63b">push_front</a> (DT &amp;&amp;x)</td></tr>
<tr class="memdesc:a9d82e154514bdc6379c83df36c86a63b"><td class="mdescLeft">&#160;</td><td class="mdescRight">akin to above but called when an rvalue was transmitted  <a href="classDoubleLinkedList.html#a9d82e154514bdc6379c83df36c86a63b">More...</a><br /></td></tr>
<tr class="separator:a9d82e154514bdc6379c83df36c86a63b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c753ec25efce9713e58170bfa9812c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a28c753ec25efce9713e58170bfa9812c">push_back</a> (const DT &amp;x)</td></tr>
<tr class="memdesc:a28c753ec25efce9713e58170bfa9812c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Similar to above.  <a href="classDoubleLinkedList.html#a28c753ec25efce9713e58170bfa9812c">More...</a><br /></td></tr>
<tr class="separator:a28c753ec25efce9713e58170bfa9812c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad87b5006784034695d430e894eb989b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#ad87b5006784034695d430e894eb989b4">push_back</a> (const DT &amp;&amp;x)</td></tr>
<tr class="memdesc:ad87b5006784034695d430e894eb989b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Similar to above.  <a href="classDoubleLinkedList.html#ad87b5006784034695d430e894eb989b4">More...</a><br /></td></tr>
<tr class="separator:ad87b5006784034695d430e894eb989b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8526d84e8c9d45422e591056d64dd013"><td class="memItemLeft" align="right" valign="top"><a id="a8526d84e8c9d45422e591056d64dd013"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>pop_front</b> ()</td></tr>
<tr class="separator:a8526d84e8c9d45422e591056d64dd013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99f2784092ee14196c3b91de6836b93b"><td class="memItemLeft" align="right" valign="top"><a id="a99f2784092ee14196c3b91de6836b93b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>pop_back</b> ()</td></tr>
<tr class="separator:a99f2784092ee14196c3b91de6836b93b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a781eabd9902464b05665ba9a5d547035"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a781eabd9902464b05665ba9a5d547035">insert</a> (<a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> itr, const DT &amp;x)</td></tr>
<tr class="memdesc:a781eabd9902464b05665ba9a5d547035"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a node and insert before the itr pointer.  <a href="classDoubleLinkedList.html#a781eabd9902464b05665ba9a5d547035">More...</a><br /></td></tr>
<tr class="separator:a781eabd9902464b05665ba9a5d547035"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3020daa2982b73be237e0b7735342d4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a3020daa2982b73be237e0b7735342d4c">insert</a> (<a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> itr, DT &amp;&amp;x)</td></tr>
<tr class="memdesc:a3020daa2982b73be237e0b7735342d4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">similar to above but avoid copy  <a href="classDoubleLinkedList.html#a3020daa2982b73be237e0b7735342d4c">More...</a><br /></td></tr>
<tr class="separator:a3020daa2982b73be237e0b7735342d4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63980ca7417c2816904717c1cc4802cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a63980ca7417c2816904717c1cc4802cd">erase</a> (<a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> itr)</td></tr>
<tr class="memdesc:a63980ca7417c2816904717c1cc4802cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete the node pointed by itr Return the next pointer after itr.  <a href="classDoubleLinkedList.html#a63980ca7417c2816904717c1cc4802cd">More...</a><br /></td></tr>
<tr class="separator:a63980ca7417c2816904717c1cc4802cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf8915685317c85b100b793123c14aba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#acf8915685317c85b100b793123c14aba">erase</a> (<a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> from, <a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> to)</td></tr>
<tr class="memdesc:acf8915685317c85b100b793123c14aba"><td class="mdescLeft">&#160;</td><td class="mdescRight">earase from pointer from until to and return to  <a href="classDoubleLinkedList.html#acf8915685317c85b100b793123c14aba">More...</a><br /></td></tr>
<tr class="separator:acf8915685317c85b100b793123c14aba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a500d8b83580e3a67ef1118e6bef7635c"><td class="memItemLeft" align="right" valign="top"><a id="a500d8b83580e3a67ef1118e6bef7635c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#a500d8b83580e3a67ef1118e6bef7635c">printList</a> ()</td></tr>
<tr class="memdesc:a500d8b83580e3a67ef1118e6bef7635c"><td class="mdescLeft">&#160;</td><td class="mdescRight">print the all the data in the container <br /></td></tr>
<tr class="separator:a500d8b83580e3a67ef1118e6bef7635c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9278da68a6f9195089a835ee71f5e27"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList.html#aa9278da68a6f9195089a835ee71f5e27">find</a> (<a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt; &amp;_list, const DT &amp;_val)</td></tr>
<tr class="memdesc:aa9278da68a6f9195089a835ee71f5e27"><td class="mdescLeft">&#160;</td><td class="mdescRight">find a specific data in the list Return the finded iterator when successful Return nullptr and output warning when failed  <a href="classDoubleLinkedList.html#aa9278da68a6f9195089a835ee71f5e27">More...</a><br /></td></tr>
<tr class="separator:aa9278da68a6f9195089a835ee71f5e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename DT&gt;<br />
class DoubleLinkedList&lt; DT &gt;</h3>

<p>define a class of a double linked class The class includes a structure named Node, two nested class named <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> and iterator for visitation of objects,two Node* pointers named head and tail and Big Five functions. <br  />
 </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9f6fd6fab778f30041aa6119b67d70db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f6fd6fab778f30041aa6119b67d70db">&#9670;&nbsp;</a></span>DoubleLinkedList() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::<a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct a new Double Linked List object Copy constructor. Local variable x was used for traversing the container. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>the object used for copy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1a2a7c993e056a3d7e15bd1bf3d38bf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a2a7c993e056a3d7e15bd1bf3d38bf2">&#9670;&nbsp;</a></span>DoubleLinkedList() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::<a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct a new Double Linked List object It's a move constructor, avoiding the copying process. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae4df7660c6cb44e3176de9e748a8f755"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4df7660c6cb44e3176de9e748a8f755">&#9670;&nbsp;</a></span>back()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const DT&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::back </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the data of the last node </p>
<dl class="section return"><dt>Returns</dt><dd>const DT&amp; </dd></dl>

</div>
</div>
<a id="a76384816354f94d8d42e0829c7bda914"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76384816354f94d8d42e0829c7bda914">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the first node </p>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="abb15c59c5b15dbdecae44e186e7c9b2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb15c59c5b15dbdecae44e186e7c9b2d">&#9670;&nbsp;</a></span>begin() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the first node, called by a constant object </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> </dd></dl>

</div>
</div>
<a id="a8ebe0a7e9218900f723620eb5359df6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ebe0a7e9218900f723620eb5359df6c">&#9670;&nbsp;</a></span>empty()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>judje if the class dosen't have any node </p>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="aa52f0a0dea8b178abf3972cb5c7ba44b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa52f0a0dea8b178abf3972cb5c7ba44b">&#9670;&nbsp;</a></span>end() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return tail </p>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="a683ec24475d58d896c47b00d9893fb6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a683ec24475d58d896c47b00d9893fb6d">&#9670;&nbsp;</a></span>end() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return tail, able to visit constant object </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> </dd></dl>

</div>
</div>
<a id="acf8915685317c85b100b793123c14aba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf8915685317c85b100b793123c14aba">&#9670;&nbsp;</a></span>erase() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::erase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>earase from pointer from until to and return to </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">from</td><td></td></tr>
    <tr><td class="paramname">to</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="a63980ca7417c2816904717c1cc4802cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63980ca7417c2816904717c1cc4802cd">&#9670;&nbsp;</a></span>erase() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::erase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td>
          <td class="paramname"><em>itr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Delete the node pointed by itr Return the next pointer after itr. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">itr</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="aa9278da68a6f9195089a835ee71f5e27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9278da68a6f9195089a835ee71f5e27">&#9670;&nbsp;</a></span>find()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::<a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::find </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt; &amp;&#160;</td>
          <td class="paramname"><em>_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const DT &amp;&#160;</td>
          <td class="paramname"><em>_val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>find a specific data in the list Return the finded iterator when successful Return nullptr and output warning when failed </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">_list</td><td></td></tr>
    <tr><td class="paramname">_val</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>DoubleLinkedList&lt;DT&gt;::iterator </dd></dl>

</div>
</div>
<a id="a321d39c83c64c5a56491cfb6312c3112"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a321d39c83c64c5a56491cfb6312c3112">&#9670;&nbsp;</a></span>front() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DT&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::front </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the data of the first node '*' was overloaded. </p>
<dl class="section return"><dt>Returns</dt><dd>DT&amp; </dd></dl>

</div>
</div>
<a id="a783cd5151e28aa5396fa7ea79f64835b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a783cd5151e28aa5396fa7ea79f64835b">&#9670;&nbsp;</a></span>front() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const DT&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::front </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>const type </p>
<dl class="section return"><dt>Returns</dt><dd>const DT&amp; </dd></dl>

</div>
</div>
<a id="a781eabd9902464b05665ba9a5d547035"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a781eabd9902464b05665ba9a5d547035">&#9670;&nbsp;</a></span>insert() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td>
          <td class="paramname"><em>itr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const DT &amp;&#160;</td>
          <td class="paramname"><em>x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct a node and insert before the itr pointer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">itr</td><td></td></tr>
    <tr><td class="paramname">x</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="a3020daa2982b73be237e0b7735342d4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3020daa2982b73be237e0b7735342d4c">&#9670;&nbsp;</a></span>insert() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDoubleLinkedList_1_1iterator.html">iterator</a>&#160;</td>
          <td class="paramname"><em>itr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DT &amp;&amp;&#160;</td>
          <td class="paramname"><em>x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>similar to above but avoid copy </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">itr</td><td></td></tr>
    <tr><td class="paramname">x</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="a857b3efd79c7794a99b82bbe65d4f2a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a857b3efd79c7794a99b82bbe65d4f2a9">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>assignment operation It is called when an lvalue is transmitted </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classDoubleLinkedList.html" title="define a class of a double linked class The class includes a structure named Node,...">DoubleLinkedList</a>&amp; </dd></dl>

</div>
</div>
<a id="a134e16aa90f251ec1fe732b8b83a758d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a134e16aa90f251ec1fe732b8b83a758d">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>It's a move assignment It was used to avoid the process of copy. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classDoubleLinkedList.html" title="define a class of a double linked class The class includes a structure named Node,...">DoubleLinkedList</a>&amp; </dd></dl>

</div>
</div>
<a id="ad87b5006784034695d430e894eb989b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad87b5006784034695d430e894eb989b4">&#9670;&nbsp;</a></span>push_back() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::push_back </td>
          <td>(</td>
          <td class="paramtype">const DT &amp;&amp;&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Similar to above. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a28c753ec25efce9713e58170bfa9812c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28c753ec25efce9713e58170bfa9812c">&#9670;&nbsp;</a></span>push_back() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::push_back </td>
          <td>(</td>
          <td class="paramtype">const DT &amp;&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Similar to above. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abc9f1f67bf23ed7ffc31361eaa14d0f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc9f1f67bf23ed7ffc31361eaa14d0f6">&#9670;&nbsp;</a></span>push_front() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::push_front </td>
          <td>(</td>
          <td class="paramtype">const DT &amp;&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Insert the element as first node Called when lvalue was transmitted. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9d82e154514bdc6379c83df36c86a63b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d82e154514bdc6379c83df36c86a63b">&#9670;&nbsp;</a></span>push_front() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::push_front </td>
          <td>(</td>
          <td class="paramtype">DT &amp;&amp;&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>akin to above but called when an rvalue was transmitted </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a896b91eefaa6a0288e31a846382d1d39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a896b91eefaa6a0288e31a846382d1d39">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the number of Node structures </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="DoubleLinkedList_8h_source.html">DoubleLinkedList.h</a></li>
<li><a class="el" href="main_8cpp.html">main.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
